*{
    margin:0;
    padding: 0;
    box-sizing:border-box

}
/* a{
    text-decoration: none;
} */
li{
    list-style: none;
}
.w{
    width: 1190px;
    margin: 0 auto;
}
/* 头部样式 */
.header_top{
    height: 31px;
    line-height: 31px;
    background-color: #f7f7f7;

}
.header_top ul{
    width: 1190px;
    margin: 0 auto;
}
.header_top ul li{
    float: left;
}
.header_top ul li:nth-child(1){
    color: #999;
}
.header_top ul li:nth-child(3){
    color: #333;
}
.header_top ul li:nth-child(2){
    display: inline-block;
    margin: 9px 12px 0;
    width: 1px;
    height: 15px;
    background-color: #999;
}
.header_content{
    height: 76px;
    width: 1190px;
    margin: 0 auto;
}
.content_left{
    float: left;
    margin-top: 19px;
}
.content_left img{
    width: 255px;
    height: 38px;
}
.content_right{
    float: right;
    margin-top: 19px;
}
.content_right ul li{
    float: left;
    margin:  0 15px;
}
.content_right ul li:nth-child(3){
    width: 1px;
    height: 20px;
    margin-top: 3px;
    background-color: #999;
}
/* 导航部分样式 */
.nav{
    margin: 0 auto;
    height: 42px;
}
.nav .nav_left {
    position: relative;
    float: left;
    width: 230px;
    height: 42px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    line-height: 42px;
    text-align: center;
    background-color: #3492fd;
    /* overflow: hidden; */
}
.nav .nav_left ul{
    position: absolute;
    top: 42px;
    left: 0px;
    height: 430px;
    width: 230px;
    padding-top: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color:rgba(96,96,96,.5) ;
    /* background-color: #606060; */
    text-indent: 9999;
}
.nav .nav_left ul li{
    text-align: left;
    
}
.nav .nav_left ul li a::after{
    float: right;
    padding-right: 20px;
    content: '\e65f';
    font-family: iconfont;
    font-size: 8px;
}
.nav .nav_left ul li a{
    text-align: left;
    padding-left: 20px;
    color: #fff;
}
.nav .nav_right{
    float: left;
    height: 42px;
}
.nav .nav_right ul li{
    float: left;
    line-height: 42px;
    margin-left: 30px;

}
.nav .nav_right ul li:last-child{
    width: 300px;
    height: 38px;
    border-radius: 20px;
    border: 1px solid #f3f3f3;
    overflow: hidden;
}
.nav .nav_right ul li:last-child input{
    float: left;
    height: 38px;
    width: 210px;
    margin-left: 15px;
    outline: none;
    border: none;

}
.nav .nav_right ul li:last-child i{
    float: left;
    margin-top: 9px;
    width: 1px;
    height: 20px;
    background-color: #d1d1d1;
}
.nav .nav_right ul li:last-child img{
    float: right;
    margin-right: 30px;
    margin-top: 10px;
    vertical-align: middle;
    
}
/* 焦点图样式 */
.focus{
    height: 320px;
    background-color: #383f8f;
}
.content{
    background-color: #f0f0f0;
    padding-bottom: 20px;
}
/* 优惠券样式 */
.onsale{
    width: 952px;
    height: 101px;
    border-radius: 10px;
    margin: 12px 0 0 238px;
    background-color: #fff;
}
.onsale ul li{
    float: left;
    width: 238px;
    height: 101px;
    padding-top: 30px;
    padding-left: 10px;
}
.sale{
    float: left;
    margin-right: 10px;
}
.saleText p:first-child{
    margin-bottom: 5px;
}
/* 新闻样式 */
.news_box{
    margin-top: 30px;
    height: 256px;
}
.news_box .hot_news{
    position: relative;
    float: left;
    width: 693px;
    height: 256px;
    background-color: #fff;
    margin-right: 7px;
    border-radius: 10px;

}
.news_box .hot_news h3{
    margin: 20px 0 0 50px;
    font-weight: 400;

}

.news_box .hot_news ul li{
    float: left;
    margin: 14px 0 0 50px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px 8px #fbfbfb ;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.news_box .hot_news ul li:last-child{
    margin-left: 13px;
}
.news_box .hot_news ul li>img{
    width: 290px;
    height: 120px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.news_box .hot_news ul li .class_content .content1{
    display: inline-block;
    margin: 7px 0 7px 18px;

}
.news_box .hot_news ul li .class_content .content1 span:last-child{
    margin-left: 90px;
}
.news_box .hot_news ul li .class_content .content2{
    margin:0 0 10px 18px;
    font-size: 14px;
}
.news_box .hot_news ul li .class_content .content2 img{
    margin-left: 25px;
}
.news_box .hot_news>img{
    position: absolute;
    top: 128px;
    right: 0;
    margin-top: -30px;
}
.news_box .news{
    float: left;
    width: 490px;
    height: 256px;
    background-color: #fff;
    border-radius: 10px;
}
.news_box .news .news_title{
    float: left;
    width: 122px;
    height: 256px;
    margin: 22px 36px 18px 50px;
    
}
.news_box .news .news_title h3{
    font-weight: 400;
    margin-bottom: 14px;
}
.news_box .news .news_content{
    float: left;
    margin: 22px 0 18px 0;
    width: 212px;
    height: 256px;
    
}
.news_box .news .news_content ul{
    margin-top: 14px;   
}

.news_box .news .news_content ul li {
    font-size: 14px;
    margin-top: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}
.news_box .news .news_content ul li::before{
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 6px;
    background-color: #3492fd;
    vertical-align: middle;
    margin-right: 8px;
}
/* 课程类型样式 */
.class_type{
    margin-top: 23px;
   
}
.class_type .type_title{
    height: 36px;
    /* padding-top: 5px; */
}
.class_type .type_title h3{
    float: left;
}
.class_type .type_title ul{
    float: left;
   
}
.class_type .type_title ul li{
    float: left;
    margin-left: 22px;
}

.class_type .type_content{
    height: 254px;
}
.class_type .type_content ul li{
    float: left;
    margin-right: 8px;
    font-size: 14px;
    background-color: #fff;
    border-radius: 10px;
}
.class_type .type_content ul li>img{
    width: 290px;
    height: 160px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
.class_type .type_content ul li:last-child{
    margin-right: 0;
}
.class_type .type_content ul li .type_text{
   margin: 0 12px 0 11px 
}
.class_type .type_content ul li .type_text p {
    padding-top: 10px;
}
.class_type .type_content ul li .type_text .class_price span:first-child{
    color: #ff0000;
    padding-right: 24px;
}
.class_type .type_content ul li .type_text .class_price span:nth-child(2){
    padding-right: 79px;
}
.class_type .type_content ul li .type_text .class_price img{
    margin-right: 12px;
}
/* 底部样式 */
.footer{
    background-color: #333333;
    height: 294px;
    width: 100%;
    
}
.footer_one{
    height: 210px;
    border-bottom: 1px solid #cccccc;
}
.footer_one ul li{
    float: left;
    color: #cccccc;
    margin-top: 51px;
}
.footer_one ul li:first-child{
    width: 450px;
}
.footer_one ul li:nth-child(2){
    margin: 51px 60px 0 50px;
}
.footer_one ul li h3{
    margin-bottom: 20px;
}
.footer_one ul li:last-child div{
    padding-bottom: 20px;
}
.footer_one ul li:last-child div span{
    display: inline-block;
    padding-right: 20px;
}




